package com.chenjiagou.bookingdemo.repository;

import com.chenjiagou.bookingdemo.entity.Booking;

import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BookingRepository <Booking, Long> {
    // 可扩展自定义查询，例如：按用户ID查订单
    List<Booking> findByUser_id(Long userId);
}